<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img{
            width: 1200px;
            height: 600px;
            position: absolute;
        }
        .banner{
            width: 1000px;
            height: 400px;
            position: absolute;
            background-color: yellow;
            top: 50%;
            left: 50%;
            margin-top: -200px;
            margin-left: -550px;
        }
        .box{
            width: 220px;
            height: 200px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -30px;
            margin-left: -100px;
        }
        span{
            top: 50px;
        }
    </style>
</head>
<body>
    <div>
        <img src="../images/yj.jpg" alt="">
        <div class="banner"></div>
        <div class="box">
            <span>账号</span>
            <input type="text">
            <span>密码</span>
            <input type="text">
            <button>ok</button>
         </div>
    </div>
</body>
</html>